package top.suven.base.http.admin.user.service;

import top.suven.base.core.mybatis.PageData;
import top.suven.base.http.admin.user.model.UserData;
import top.suven.base.http.admin.user.vo.response.UserDataResponseVo;

import java.util.List;

/**
 * @Title: UserDataWebService.java
 * @Description: 用户扩展信息的业务处理服务类
 * @author lixiangling
 * @date   2018/08/14 16:52:42
 * @version  V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
public interface UserDataWebService {
    /**
     * @Title: 获取用户扩展信息分页信息
     * @Description:
     * @param userData @{Link UserData}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/14 16:52:42
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public PageData<UserDataResponseVo> getUserDataPage(UserData userData, int start, int pageSize);
   /**
    * @Title: 获取用户扩展信息列表信息
    * @Description:
    * @param userData @{Link UserData}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/14 16:52:42
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public List<UserData> getUserDataList(UserData userData);
    /**
     * @Title: 新增用户扩展信息信息
     * @Description:
     * @param userData @{Link UserData}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/14 16:52:42
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void addUserData(UserData userData);
    /**
    * @Title: 修改用户扩展信息信息
    * @Description:
    * @param userData @{Link UserData}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/14 16:52:42
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void updUserData(UserData userData);
   /**
    * @Title: 获取用户扩展信息信息
    * @Description:
    * @param id @{Link Long}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/14 16:52:42
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public UserData getUserData(Long id);
    /**
     * @Title: 删除用户扩展信息信息
     * @Description:id @{Link Long[]}
     * @param
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/14 16:52:42
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void del(Long[] ids);
   /**
    * @Title: 启用用户扩展信息信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/14 16:52:42
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOn(Long[] ids);
   /**
    * @Title: 禁用用户扩展信息信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/14 16:52:42
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOff(Long[] ids);
}